package com.yuda.tools.log.service.Impl;

import com.yuda.tools.log.entity.StuStatus;
import com.yuda.tools.log.mapper.StuStatusMapper;
import com.yuda.tools.log.service.StuStatusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StuStatusServiceImpl implements StuStatusService {

    @Autowired
    private StuStatusMapper stuStatusMapper;

    @Override
    public List<String> getKaodian(String kaodian) {
        return stuStatusMapper.getKaodian(kaodian);
    }


    @Override
    public List<String> getJifang(String jifang) {
        return stuStatusMapper.getJifang(jifang);
    }

    @Override
    public List<String> getSubject() {
        return stuStatusMapper.getSubject();
    }



    @Override
    public List<StuStatus> getInfo(String kaodian, String jifang, String subject, String zkznum,String quekao,String lixian) {
        return stuStatusMapper.getInfo(kaodian,jifang,subject,zkznum,quekao,lixian);
    }

    @Override
    public StuStatus getOneInfo(String zkzNum, String subjectName) {
        return stuStatusMapper.getOneInfo(zkzNum,subjectName);
    }

    @Override
    public int updateStatus(String zkzNum, String subjectName) {
        return stuStatusMapper.updateStatus(zkzNum,subjectName);
    }

    @Override
    public int updateStatus1(String zkzNum, String subjectName) {
        return stuStatusMapper.updateStatus1(zkzNum,subjectName);
    }

    @Override
    public int updateStatus2(String zkzNum, String subjectName) {
        return stuStatusMapper.updateStatus2(zkzNum,subjectName);
    }

    @Override
    public int updateStatus3(String zkzNum, String subjectName) {
        return stuStatusMapper.updateStatus3(zkzNum,subjectName);
    }

    @Override
    public int updateStatus4(String zkzNum, String subjectName) {
        return stuStatusMapper.updateStatus4(zkzNum,subjectName);
    }
}
